
package com.joysuch.wwyt.bp.service;

import java.text.ParseException;
import java.util.List;

import com.joysuch.wwyt.bp.bean.BpCertificateAddBean;
import com.joysuch.wwyt.bp.bean.BpCertificateAddListBean;
import com.joysuch.wwyt.bp.bean.BpCertificateListBean;
import com.joysuch.wwyt.bp.entity.BpCertificate;

public interface BpCertificateService {
    List<BpCertificateListBean> getPage(Long userId);

    BpCertificateListBean add(BpCertificateAddBean bpCertificate) throws ParseException;

    void delete(Long id);

    BpCertificateAddListBean getById(Long id);

    BpCertificateListBean update(BpCertificateAddBean bpCertificate) throws Exception;

    String findCertNameByUserIdAndType(Long userId, String type);

    List<BpCertificate> findCertNameByUserIdsAndType(List<Long> ids, String code);

}
